package com.lut.single;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author liuning
 * @ProjectName SingleModel
 * @time 2021/11/24 20:03
 */
public class Test {
    public static void main(String[] args) {
        List<Integer> nums = new ArrayList<Integer>(Arrays.asList(5, 3, 1));
        nums.add(6);
        nums.add(0,4);
        nums.remove(1);
        for (int x:nums){
            System.out.print(x+",");
        }

    }
}
